package dao;

import pojo.CustomerType;
import pojo.Operator;
import dao.impl.CustomerDAOImpl;
import dao.impl.CustomerTypeDAOImpl;
import dao.impl.FllowCaseDAOImpl;
import dao.impl.MessageDAOImpl;
import dao.impl.OperatorDAOImpl;
import dao.impl.PolicyDAOImpl;
import dao.impl.RightDAOImpl;
import dao.impl.TradeLogDAOImpl;

public class DAOFactory {
	public static CustomerDAO getCustomerDAO() {
		CustomerDAO customerDAO = new CustomerDAOImpl();
		return customerDAO;
	}

	public static CustomerTypeDAO getCustomerTypeDAO() {
		CustomerTypeDAO customerTypeDAO = new CustomerTypeDAOImpl();
		return customerTypeDAO;
	}

	public static OperatorDAO getOperatorDAO() {
		OperatorDAO operatorDAO = new OperatorDAOImpl();
		return operatorDAO;
	}
	
	public static FllowCaseDAO getFllowCaseDAO() {
		FllowCaseDAO fllowCaseDAO = new FllowCaseDAOImpl();
		return fllowCaseDAO;
	}
	
	public static MessageDAO getMessageDAO() {
		MessageDAO messageDAO = new MessageDAOImpl();
		return messageDAO;
	}
	
	public static PolicyDAO getPolicyDAO() {
		PolicyDAO policyDAO = new PolicyDAOImpl();
		return policyDAO;
	}
	public static RightDAO getRightDAO() {
		RightDAO rightDAO = new RightDAOImpl();
		return rightDAO;
	}
	public static TradeLogDAO getTradeLogDAO() {
		TradeLogDAO tradeLogDAO = new TradeLogDAOImpl();
		return tradeLogDAO;
	}
}
